package com.gw.topicprovider.config;

import org.apache.activemq.command.ActiveMQTopic;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import javax.jms.Topic;

@Configuration
public class BeanConfig {
    @Bean
    public Topic topic(){
        return new ActiveMQTopic("ActiveMQTopic");
    }
}
